Sample files from Brian Long's debugging talk at SDN Event 2, Sep 2016:

Creative Delphi Debugging Techniques

AutomationExample - simple example that uses Automation to create a simple Microsoft Word document.

DebuggingTips - sample project from the session including various logging helpers and comments describing how to extract class names from pointers.

FastMM - sample project to test FastMM4 (http://fastmm.sourceforge.net)

HeapMem - sample project to test a simple memory manager replacement
 from Ray Lischner, which has been modified to work with current Delphi versions
 
Tracing - FMX project that uses Log.d to emit a log message on any platform

Tracing2 - VCL project that has its usage of Writeln subverted by a TFDD - a text-file device driver that redirects output to OutputDebugString

Tracing3 - FMX project that uses Writeln and TDebugUtils.DebugPrint, and has a TFDD to redirect written output to Log.d, except on Mac OS X where NSLog is defined and called instead.

Brian Long - Embarcadero MVP
Email - brian@blong.com
Web  - http://blong.com
Blog - http://blog.blong.com

